package com.lkqandzzy.service;

import com.lkqandzzy.entity.Opportunities;
import com.lkqandzzy.entity.PageInfo;
import com.lkqandzzy.entity.Record;

import java.util.List;

public interface OpportunitiesService {

    //分页查询
    PageInfo<Opportunities> findPageInfo(String contacts, String state, Integer pageIndex, Integer pageSize);

    int deleteOpportunities(Integer sales_id);   //删除销售信息
    int addOpportunities(Opportunities opportunities);    //添加销售信息
    int updateOpportunities(Opportunities opportunities); //修改销售信息
    Opportunities findOpportunitiesById(Integer sales_id);
    List<Opportunities> getAll();
}
